# __coding:utf-8__
import pymysql;

connect_handle = pymysql.connect(host='127.0.0.1', user='root', passwd='fr1314520', db='metacms', charset='utf8');
cursor = connect_handle.cursor();
cursor.execute('select * from cms_post limit 1');
print(cursor.fetchone());
cursor.close();
connect_handle.close();
